Skip to content

Fix WantAuthnRequestsSigned parser. #338

Merged
pitbulk merged 1 commit intomasterfrom
fix_wantauthnRequestsigned_parser
Dec 26, 2022
Merged

Fix WantAuthnRequestsSigned parser. #338
pitbulk merged 1 commit intomasterfrom
fix_wantauthnRequestsigned_parser

Conversation

@pitbulk
Copy link
Copy Markdown
Contributor

@pitbulk pitbulk commented Dec 25, 2022

It fixes #306

@pitbulk pitbulk force-pushed the master branch 2 times, most recently from 4fa3934 to acef8eb Compare December 26, 2022 01:53
@pitbulk pitbulk changed the base branch from master to add_poetry December 26, 2022 02:41
@pitbulk pitbulk changed the base branch from add_poetry to master December 26, 2022 02:41
@pitbulk pitbulk merged commit d3f2c06 into master Dec 26, 2022
idp_entity_id = entity_descriptor_node.get('entityID', None)

want_authn_requests_signed = entity_descriptor_node.get('WantAuthnRequestsSigned', None)
want_authn_requests_signed = idp_descriptor_node.get('WantAuthnRequestsSigned', None)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this causes a regression, because idp_descriptor_node.get('WantAuthnRequestsSigned', None) returns the string 'false' for my config (and probably others as well) which gets later evaluated to True in

authn_sign = bool(security.get('authnRequestsSigned'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WantAuthnRequestsSigned is read from EntityDescriptor instead of IDPSSODescriptor

2 participants